package com.itheima.domain.db.cms;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 优选专区
 * @TableName cms_prefrence_area
 */
@TableName(value ="cms_prefrence_area")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CmsPrefrenceArea implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String subTitle;

    /**
     * 
     */
    private Integer sort;

    /**
     * 
     */
    private Integer showStatus;

    /**
     * 展示图片
     */
    private byte[] pic;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}